<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="wap-home-o" to="/home/index">首页</van-tabbar-item>
      <van-tabbar-item icon="send-gift-o" to="/home/course">课程</van-tabbar-item>
      <van-tabbar-item icon="records" to="/home/record">约课记录</van-tabbar-item>
      <van-tabbar-item icon="orders-o" to="/home/practise">练习</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/home/person">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "",
  components: {},
  props: [],
  data() {
    return {
      active: 0,
      icon: {
        active: "https://img.yzcdn.cn/vant/user-active.png",
        inactive: "https://img.yzcdn.cn/vant/user-inactive.png",
      },
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style lang='scss' scoped>
</style>
